#pragma once

#include "..\Scene.h"

#include "..\SceneNode.h"

class PixelShader
{
	public:
		PixelShader();
		~PixelShader();

		HRESULT OnRestore(Scene *pScene);
		HRESULT SetupRender(Scene *pScene, SceneNode *pNode);
		HRESULT SetTexture(const std::string& textureName);
		HRESULT SetTexture(ID3D11ShaderResourceView* const *pDiffuseRV, ID3D11SamplerState * const *ppSamplers);

	protected:
		ID3D11PixelShader*          m_pPixelShader;
		ID3D11Buffer*               m_pcbPSMaterial;
		std::string					m_textureResource;
};